package com.example.demo.dao;

import com.example.demo.model.entity.SettingModel;
import com.example.demo.model.entity.UserModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface SettingRepository extends JpaRepository<SettingModel, String>, JpaSpecificationExecutor<SettingModel> {

    SettingModel findBySettingType(Integer settingType);
}
